package com.cskaoyan.bean.data;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@NoArgsConstructor
@Data
public class OrderGoods {


    @JsonProperty("id")
    private Integer id;
    @JsonProperty("orderId")
    private Integer orderId;
    @JsonProperty("goodsId")
    private Integer goodsId;
    @JsonProperty("goodsName")
    private String goodsName;
    @JsonProperty("goodsSn")
    private String goodsSn;
    @JsonProperty("productId")
    private Integer productId;
    @JsonProperty("number")
    private Short number;
    @JsonProperty("price")
    private BigDecimal price;
    @JsonProperty("specifications")
    private String[] specifications;
    @JsonProperty("picUrl")
    private String picUrl;
    @JsonProperty("comment")
    private Short comment;
    @JsonProperty("addTime")
    private LocalDateTime addTime;
    @JsonProperty("updateTime")
    private LocalDateTime updateTime;
    @JsonProperty("deleted")
    private Boolean deleted;

}
